home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / CTRLBA.PAK / PALETTE.H < prev    next >
C/C++ Source or Header  |  1997-05-06  |  1KB  |  46 lines

  1. // palette.h : interface of the CPaletteBar class
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. class CPaletteBar : public CToolBar
  14. {
  15. // Constructor
  16. public:
  17.     CPaletteBar();
  18.     void SetColumns(UINT nColumns);
  19.     UINT GetColumns() { return m_nColumns; };
  20.  
  21. // Attributes
  22. public:
  23.  
  24. // Operations
  25. public:
  26.  
  27. // Implementation
  28. public:
  29.     virtual ~CPaletteBar();
  30. #ifdef _DEBUG
  31.     virtual void AssertValid() const;
  32.     virtual void Dump(CDumpContext& dc) const;
  33. #endif
  34.  
  35. protected:
  36.     UINT m_nColumns;
  37.  
  38. // Generated message map functions
  39. protected:
  40.     //{{AFX_MSG(CPaletteBar)
  41.     //}}AFX_MSG
  42.     DECLARE_MESSAGE_MAP()
  43. };
  44.  
  45. /////////////////////////////////////////////////////////////////////////////
  46.